package com.youlai.boot.bmp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.bmp.model.entity.ProcessCategory;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.bmp.model.query.ProcessCategoryQuery;
import com.youlai.boot.bmp.model.vo.ProcessCategoryVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 流程分类Mapper接口
 *
 * @author rabit
 * @since 2025-10-22 21:32
 */
@Mapper
public interface ProcessCategoryMapper extends BaseMapper<ProcessCategory> {

    /**
     * 获取流程分类分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<ProcessCategoryVO>} 流程分类分页列表
     */
    Page<ProcessCategoryVO> getProcessCategoryPage(Page<ProcessCategoryVO> page, ProcessCategoryQuery queryParams);

}
